{include_core file="m/lib/header.html" center="center" title="基本资料"}

<div class="people">
  <div class="people-box">
    <ul>
	  <li class="people-top">
	    <span class="people-r">头像</span>
		<span class="people-img"><img src="{user_helper::avatar($user_info.id, 'big')}"/></span>
	  </li>
	  <li>
	    <span class="people-r">用户名</span>
		<span class="people-l">{$user_info.user_name}</span>
	  </li>
	  <li>
	    <span class="people-r">真实姓名</span>
		<span class="people-l">{if $user_info.realname == ''} -- {else}{$user_info.realname}{/if}</span>
	  </li>
	  <li>
	    <span class="people-r">昵称</span>
		<span class="people-l">{if $user_info.nickname == ''} -- {else}{$user_info.nickname}{/if}</span>
	  </li>
	  <li>
	    <span class="people-r">性别</span>
		<span class="people-l">{user_helper::get_user_gender($user_info.gender)}</span>
	  </li>
	  <li>
	    <span class="people-r">生日</span>
		<span class="people-l">{if $user_info.birthday == '0000-00-00' || $user_info.birthday == ''} -- {else}{$user_info.birthday}{/if}</span>
	  </li>
	</ul>
	<div class="btns"><a href="{AnUrl('user/setting/edit_user_info')}">编辑</a></div>
  </div>
</div>

{include_core file="m/lib/footer.html"}